package com.tudouji.project.organization.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.flow.service.pojo.BasePojo;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 供应商对象 supplier
 *
 * @author wf
 * @date 2020-12-25
 */
@Data
public class Supplier extends BasePojo
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 供应商编号 */
    private String code;

    /** 供应商名字 */
    @Excel(name = "名称")
    private String name;
    /** 状态 */
    @Excel(name = "类型")
    private String typeName;
    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactstel;
    /** 对应金蝶系统供应商编号 */
    @Excel(name = "金蝶编号")
    private String kingdeenum;
    /** 状态 */
    @Excel(name = "状态")
    private String statusName;
    /** 对应金蝶系统供应商编号 */
    @Excel(name = "关联用户")
    private String realName;
    /** 对应金蝶系统供应商编号 */
    @Excel(name = "创建人")
    private String createByName;
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String allname;

    /** 供应商简称 */
    private String shortname;

    /** 关联用户id */
    private String userid;

    /** 同步日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date synchtime;

    /** 同步状态 */
    private Integer synchstat;

    /** 同步信息 */
    private String synchinfo;

    /** 省份 */
    private String province;

    /** 市 */
    private String city;

    /** 区 */
    private String district;

    /** 详细地址 */
    private String address;

    /** 联系人 */
    private String contacts;

    private Integer status;

    private Integer type;
    private Integer[] types;

    /**
     * 组织id
     */
    private String orgguid;

    private String orgname;
    private String bank;
    private String bankcode;

    private String mtCode;

    private String[] kdnums;
}
